Parses the supplied byte array into data structures representing the components of the SDP.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
Parse ( _
	
bytes 
As 
Byte() _
)
C#
public 
void 
Parse(
	
byte[] 
bytes
)
Visual C++
public:
void 
Parse(
	
array<
unsigned char>^ 
bytes
)
JavaScript
function 
parse(
bytes);

Parameters

bytes
Type: array< Byte > [] () []
The bytes containing the SDP to parse.

Exceptions

Exception Condition
Microsoft.Rtc.Signaling . . :: . MessageParsingException Thrown when the provided SDP is malformated. See exception message for details.
ArgumentNullException Thrown when null is passed as an argument.

See Also